import a, { multiply } from "./a.js";

console.log(multiply([2, 3]));
console.log(a([4, 5]));

// // 只是单纯的遍历数组
// const b = [1, 2].forEach((item) => {
//   console.log(item + 1);
//   return item + 1;
// });
// console.log(b);

// // 用来将数组进行处理，返回一个新的数组
// const c = [1, 2].map((item) => {
//   console.log(item + 1);
//   return item + 1;
// });
// console.log(c);

const person = { name: "小明", age: "234" };

console.log(Object.keys(person));
console.log(Object.values(person));
console.log(Object.entries(person));
